<!DOCTYPE html>
<html>
<head>
    <title>存在问题</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../css/main.css">
    <script src="../../libs/jquery.min.js"></script>
    <script src="../../plugins/layer/layer.js"></script>
    <script src="../../libs/bootstrap.min.js"></script>
    <script src="../../libs/vue.min.js"></script>
    <script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../js/common.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div class="form-group col-sm-3">
                <div class="col-sm-4 control-label">处理状态</div>
                <div class="col-sm-8">
                    <select class="form-control" v-model="q.ps" placeholder="处理状态">
                        <option value="">
                            全部
                        </option>
                        <option value="已处理">
                            已处理
                        </option>
                        <option value="未处理">
                            未处理
                        </option>
                    </select>
                </div>
            </div>
            <div class="form-group col-sm-3">
                <div class="col-sm-4 control-label">验收状态</div>
                <div class="col-sm-8">
                    <select class="form-control" v-model="q.ys" placeholder="验收状态">
                        <option value="">
                            全部
                        </option>
                        <option value="已验收">
                            已验收
                        </option>
                        <option value="未验收">
                            未验收
                        </option>
                    </select>
                </div>
            </div>
            <a class="btn btn-default" @click="reload">查询</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">大类</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="eProblemexist.bigtype" placeholder="大类"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">小类</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="eProblemexist.smalltype" placeholder="小类"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">描述</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="eProblemexist.common" placeholder="描述"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">危害</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="eProblemexist.analysis" placeholder="危害"/>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label">发现人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="eProblemexist.finder" placeholder="发现人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">发现时间</div>
                <div class="col-sm-10">
                    <input type="date" class="form-control" v-model="eProblemexist.findtime" placeholder="发现时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">备注</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="eProblemexist.note" placeholder="备注"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">处理人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="eProblemexist.handler" placeholder="处理人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">处理时间</div>
                <div class="col-sm-10">
                    <input type="date" class="form-control" v-model="eProblemexist.handletime" placeholder="处理时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">处理结果</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="eProblemexist.results" placeholder="处理结果"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">验收人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="eProblemexist.accepter" placeholder="验收人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">验收时间</div>
                <div class="col-sm-10">
                    <input type="date" class="form-control" v-model="eProblemexist.accepttime" placeholder="验收时间"/>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="../../js/modules/eys/eproblemexistall.js"></script>
</body>
</html>